Date: Dec 18, 2014
Authors: Cameron Thies, Olga Chyzh, and Mark Nieman
Paper Title: The Spatial Dimensions of State Fiscal Capacity: The Mechanisms of International Influence on Domestic Extractive Efforts

Required Stata packages:
- spreg from http://www-personal.umich.edu/~wmacmill/stata/spreg/ by William D. MacMillan, Jude Hays, and Rob Franzese;
- shp2dta for converting shape files into Stata databases and spmap;
- spmap for drawing maps.


This folder contains the following do-files (we recommend running them in this order):
1. tables1&2.do --this file produces Table 1 (see "tables/sum_part1.tex" and "tables/sum_part2.tex") and Table 2 (see "tables/table1.tex");
2. figure2.do produces Figure 2 ("tables/Greece_diff_dollars.eps"), as well as the data files, necessary to run "figure1.do";
Note: This file uses folder "sims" to save simulation results.  We recommend clearing the folder "sims" after running this file, in order to save disk space. 
The same goes for files figure1.do, figure3.do and figure4.do. 
3. figure4.do produces Figure 4 ("tables/Libya_diff_dollars.eps"), as well as the data files, necessary to run "figure3.do";
4. figure1.do produces Figure 1 ("tables/yhat_change_Turkey.eps");
5. figure3.do produces Figure3 ("tables/yhat_change_Libya_oda.eps").

The folder also contains the log-files for each do-file, as well as the data files, needed to run each file.

Note: If you encounter the error saying that a file "cannot be modified or erased," it is most likely that Stata crashed and you need to re-run the file.